package com.zzy;

import com.zzy.broker.server.NettyServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class BrokerApplication {
    public static void main(String[] args) throws InterruptedException {
        new NettyServer(1883).start();
        SpringApplication.run(BrokerApplication.class, args);

    }
}